package com.sky.service;

import com.sky.entity.AddressBook;
import java.util.List;

public interface AddressBookService {

    /**
     *
     * @param addressBook 1
     * @return 1
     */
    List<AddressBook> list(AddressBook addressBook);

    /**
     *
     * @param addressBook 1
     */
    void save(AddressBook addressBook);

    /**
     *
     * @param id 1
     * @return 1
     */
    AddressBook getById(Long id);

    /**
     *
     * @param addressBook 1
     */
    void update(AddressBook addressBook);

    /**
     *
     * @param addressBook 1
     */
    void setDefault(AddressBook addressBook);

    /**
     *
     * @param id 1
     */
    void deleteById(Long id);

}
